<template>
  <div>
    <div id="lineChart" style="height: 600px;width: 1000px"></div>
  </div>
</template>

<script>
import * as echarts from 'echarts'
export default {
  name: 'moringEveningPassenger',
  data () {
    return {

    }
  },
  mounted () {
    this.lineChart()
  },
  methods: {
    lineChart () {
      let lineGraph = echarts.init(document.getElementById('lineChart'))
      lineGraph.setOption({
        title: {
          text: '',
          subtext: '',
          x: 'center'
        },
        xAxis: {
          type: 'category',
          data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        },
        yAxis: {
          type: 'value'
        },
        series: [{
          data: [150, 230, 224, 218, 135, 147, 260],
          type: 'line'
        }]
      })
    }
  }
}
</script>

<style scoped>

</style>
